package com.linQing.waterWork.modle.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName Sws_EventInfo
 */
@TableName(value ="Sws_EventInfo")
@Data
public class SwsEventinfo implements Serializable {
    /**
     * 主键id
     */
    @ApiModelProperty(value = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 报警时间
     */
    @ApiModelProperty(value = "报警时间")
    private Date eventTime;

    /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备编号")
    private Long equipmentId;

    /**
     *报警编号
     */
    @ApiModelProperty(value = "报警编号")
    private Integer eventSource;

    /**
     * 报警信息
     */
    @ApiModelProperty(value = "报警信息")
    private String eventMessage;

    /**
     * 报警类型
     */
    @ApiModelProperty(value = "报警类型")
    private Integer eventType;

    /**
     * 报警等级
     */
    @ApiModelProperty(value = "报警等级")
    private Integer eventLevel;

    /**
     * 处理状态
     */
    @ApiModelProperty(value = "处理状态")
    private Integer state;

    /**
     * 当前值
     */
    @ApiModelProperty(value = "当前值")
    private Float currentValue;

    /**
     * 极限值
     */
    @ApiModelProperty(value = "极限值")
    private Float limitValue;


    /**
     * 是否确认
     */
    @ApiModelProperty(value = "是否确认")
    private Boolean isConfirm;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}